package cn.yuemouren.security.core.authorize;

import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer;

/**
 * @Author: Timi
 * @Description: 权限配置接口
 * @Date: 2020/7/7 8:50
 */
public interface AuthorizeConfigProvider {
    /**
     * 提供配置权限路径
     * @param urlRegistry
     */
    boolean config(ExpressionUrlAuthorizationConfigurer<HttpSecurity>.ExpressionInterceptUrlRegistry urlRegistry);
}
